<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="images/css.css" type="text/css"  rel="stylesheet" />
</head>
<body>
<center>考生详细信息</center>
<table class="tableline"  cellspacing="1" cellpadding="0" width="80%" align="center" border="0">
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">*</font>&nbsp;报考等级及语言：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        ${enroll.rank.name}</td>
      <td valign="top" align="center" bgcolor="#ffffff" rowspan="14" style="width: 195px">
      <c:if test="${!empty enroll.icon }">
      <img src="photo/${enroll.icon }" height="210" width="150" align="top"  />
      </c:if>
      <c:if test="${empty enroll.icon }">
      <img src="images/nopho.jpg" />
      	请尽快上传个人相片
      </c:if>
          
        <p align="left">
        <font color="#FF0000">注意:图片必须是蓝底,<br />且尺寸最好是:150*210 像素,格式必须为jpg </font>
        </p>
       </td>
    </tr>
    <tr>
      <td class="left" align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">* </font><font face="宋体">身份证号：</font></td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        ${enroll.examinee.idCard}</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font class="left" style="TEXT-ALIGN: right" face="宋体"><font face="宋体" color="#ff0000">*</font>&nbsp;姓 
        名：</font></td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        ${enroll.name}</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">* </font> <font face="宋体">性 别：</font></td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
      <c:if test="${enroll.sex ==1 }">男</c:if><c:if test="${enroll.sex ==2 }">女</c:if> </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">*</font> 出生年月日：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        ${enroll.birthday }</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">* </font> 民 族：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
      <c:choose>
                <c:when test="${enroll.nation eq '01' }">汉</c:when>
                <c:when test="${enroll.nation eq '02' }">蒙古</c:when>
                <c:when test="${enroll.nation eq '03' }">回</c:when>
                <c:when test="${enroll.nation eq '04' }">藏</c:when>
                <c:when test="${enroll.nation eq '05' }">维吾尔</c:when>
                <c:when test="${enroll.nation eq '06' }">苗</c:when>
                <c:when test="${enroll.nation eq '07' }">彝</c:when>
                <c:when test="${enroll.nation eq '08' }">壮</c:when>
                <c:when test="${enroll.nation eq '09' }">布依</c:when>
                <c:when test="${enroll.nation eq '10' }">朝鲜</c:when>
                <c:when test="${enroll.nation eq '11' }">满</c:when>
                <c:when test="${enroll.nation eq '12' }">侗</c:when>
                <c:when test="${enroll.nation eq '13' }">瑶</c:when>
                <c:when test="${enroll.nation eq '14' }">白</c:when>
                <c:when test="${enroll.nation eq '15' }">土家</c:when>
                <c:when test="${enroll.nation eq '16' }">哈尼</c:when>
                <c:when test="${enroll.nation eq '17' }">哈萨克</c:when>
                <c:when test="${enroll.nation eq '18' }">傣</c:when>
                <c:when test="${enroll.nation eq '19' }">黎</c:when>
                <c:when test="${enroll.nation eq '20' }">傈僳</c:when>
                <c:when test="${enroll.nation eq '97' }">其他</c:when>
                </c:choose>
	</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px">&nbsp;&nbsp;<font face="宋体" color="#ff0000">*&nbsp;</font>职 业：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        <c:choose>
        <c:when test="${enroll.profession eq '30' }">学生</c:when>
        <c:when test="${enroll.profession eq '02' }">机关</c:when>
        <c:when test="${enroll.profession eq '04' }">事业</c:when>
        <c:when test="${enroll.profession eq '05' }">企业</c:when>
        <c:when test="${enroll.profession eq '08' }">军人</c:when>
        <c:when test="${enroll.profession eq '19' }">卫生</c:when>
        <c:when test="${enroll.profession eq '21' }">经济</c:when>
        <c:when test="${enroll.profession eq '22' }">金融</c:when>
        <c:when test="${enroll.profession eq '24' }">教育</c:when>
           <c:when test="${enroll.profession eq '99' }">其他</c:when>
        </c:choose>
        </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">* </font> 文化程度：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        <c:choose>
        <c:when test="${enroll.degree eq '1'}">博士</c:when>
        <c:when test="${enroll.degree eq '2'}">硕士</c:when>
        <c:when test="${enroll.degree eq '3'}">本科</c:when>
        <c:when test="${enroll.degree eq '4'}">大专(专科)</c:when>
        <c:when test="${enroll.degree eq '5'}">高中(职高)</c:when>
        <c:when test="${enroll.degree eq '6'}">中专(中技)</c:when>
        <c:when test="${enroll.degree eq '7'}">初中</c:when>
        <c:when test="${enroll.degree eq '8'}">初中以下</c:when>
        </c:choose>
		</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">*</font>联系电话：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        ${enroll.phone }</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" height="25" style="width: 195px"><font face="宋体" color="#ff0000">*</font>所在院系：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px">&nbsp;
        ${enroll.dept.deptName}</td>
    </tr>
    <tr>
      <td align="right" bgcolor="#ffffff" style="width: 195px; height: 25px"><font face="宋体" color="#ff0000">*</font>所在班级：</td>
      <td align="left" bgcolor="#ffffff" style="width: 624px; height: 25px">&nbsp;
        ${enroll.clazz.clazzId }</td>
    </tr>
</table>
</body>
</html>